package com.grupoconstruobras.sigo.exhumaciones.ui.datamodel;

import com.grupoconstruobras.sigo.datatransfer.ResultSet;

import java.util.Map;

import org.ajax4jsf.model.ExtendedDataModel;
import org.richfaces.component.SortOrder;

public interface IDataModelMb<T> {
	
	public abstract void setSortProperty(String sortPropety);
    public abstract String getSortProperty();
    public abstract Map<String, SortOrder> getSortOrders();
    public abstract Map<String, Object> getFilterValues();
    public abstract void toggleSort();
    public abstract ExtendedDataModel<T> getDataModel();
    public abstract void setParameters(Object ... parameters);
    public abstract ResultSet<T> getResult();
    public abstract void setCallback(IDataModelCallback<T> callback);
    
}
